/*************************************************************
 * File: RoleServiceImpl.java
 * Copyright (c) 2012
 * Author: Huang Shaobin
 * Email: Shaobin.Software@gmail.com Shaobin_Software@163.com 
 * Date: Mar 6, 2013
 * Description: 
 ************************************************************/

package snow.biz.security.service.impl;

import snow.biz.basic.service.impl.HibernateBaseServiceImpl;
import snow.biz.security.model.Role;
import snow.biz.security.service.IRoleService;
import snow.core.exceptions.BusinessException;

/**
 * 角色相关的接口实现类
 * 
 * @author Shaobin.Software@gmail.com Shaobin_Software@163.com 
 * @version 1.0 
 */
public class RoleServiceImpl extends HibernateBaseServiceImpl implements IRoleService {

	/**
	 * @param id
	 * @return
	 * @throws BusinessException
	 * @see snow.biz.security.service.IRoleService#searchRoleFrom(java.lang.Integer)
	 */
	public Role searchRoleFrom(Integer id) throws BusinessException {
		return super.get(Role.class, id);
	}


}
